package com.lemon.smartsafety.result.fire;

import java.io.Serializable;
import java.util.List;

/**
 * 项目名称：workspace
 * 类描述：
 * 创建人：Fargo
 * 创建时间：2016/8/12 15:51
 * 修改人：Fargo
 * 修改时间：2016/8/12 15:51
 * 修改备注：
 */
public class SuperviseTargetResult implements Serializable {


    /**
     * result : [{"targetCode":"normal","targetName":"综合"},{"targetCode":"RYLZL","targetName":"人员履职率"},{"targetCode":"JCXMDBL","targetName":"检查项目达标率"},{"targetCode":"XFSSWHL","targetName":"消防设施完好率"},{"targetCode":"AQGLJSL","targetName":"安全管理及时率"},{"targetCode":"JBXXWSL","targetName":"基本信息完善率"},{"targetCode":"HJHSBL","targetName":"户籍化上报率"}]
     * isError : false
     * code : 1000
     * msg : 操作成功
     */

    private boolean isError;
    private int code;
    private String msg;
    /**
     * targetCode : normal
     * targetName : 综合
     */

    private List<ResultEntity> result;

    public boolean isIsError() {
        return isError;
    }

    public void setIsError(boolean isError) {
        this.isError = isError;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ResultEntity> getResult() {
        return result;
    }

    public void setResult(List<ResultEntity> result) {
        this.result = result;
    }

    public static class ResultEntity implements Serializable {
        //指标code
        private String targetCode;
        //指标名称
        private String targetName;

        public String getTargetCode() {
            return targetCode;
        }

        public void setTargetCode(String targetCode) {
            this.targetCode = targetCode;
        }

        public String getTargetName() {
            return targetName;
        }

        public void setTargetName(String targetName) {
            this.targetName = targetName;
        }
    }
}
